<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <ui:composition template="index.xhtml">
        <ui:define name="body">
            <h:form>
                <div id="breadcrumb">
                    <p:commandLink  value="Inicio" update="@form" actionListener="#{managerRedirect.redirect('index.xhtml')}" immediate="true"/> >
                    <p:commandLink  value="Configurações" update="@form" actionListener="#{managerRedirect.redirect('configuration.xhtml')}" immediate="true"/> >
                    <p:commandLink  value="Category" update="@form" actionListener="#{managerRedirect.redirect('viewCategory.xhtml')}" immediate="true"/> > 
                    <p:commandLink  value="Visualizando" />
                </div>
            </h:form>
            <p:panel header="Visualizar Categoria" style="width: 100%">
                <h:form id="form" acceptcharset="utf-8">
                    <p:growl id="msg" life="3000"/>
                    <p:fieldset style="border: 0px;">
                        <fieldset style="border: 1px solid #E3E3E3; color: #3DA2DC; font-size: 13px;">
                            <legend>Dados Categoria</legend>
                            <h:panelGrid columns="2" style="font-size: 12px; float: left; font-family: sans-serif">
                                <p:outputLabel value="Categoria :" style="float: right; color: #000000; font-weight: bold"/>
                                <p:outputLabel   value="#{managerSearchCategory.category.name}" style="color: #000000" />
                            </h:panelGrid>
                        </fieldset>
                    </p:fieldset>  
                    <br/>
                    <center>
                        <p:commandButton value="Voltar"  icon="ui-icon-arrowreturnthick-1-w" style="font-size: 12px; font-family: sans-serif;" actionListener="#{managerRedirect.redirect('viewCategory.xhtml')}" immediate="true"/>

                    </center>

                </h:form>
            </p:panel>
        </ui:define>
    </ui:composition>

</html>


